﻿//-----------------------------------------------------------------------
// <copyright file="IDbTransaction.cs" company="NextLine Software">
//     Copyright (c) NextLine Software. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace System.Data
{
    public interface IDbTransaction : IDisposable
    {
        IDbConnection Connection
        {
            get;
        }

        IsolationLevel IsolationLevel
        {
            get;
        }

        void Commit();

        void Rollback();
    }
}
